package com.boatAnchorAssistant.pojo.enums.resource;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;
import nirvana.core.domains.enums.Enums;

/**
 * @author Joseph.Li
 * @author joseph.li@king-v.com
 * Created in 2022-06-17 0:26
 * <p>
 * 资源类型
 */
@Getter
@AllArgsConstructor
public enum ResourceTypeEnum implements Enums {

    //    MODEL(0,"模块"),
    MENU(1, "菜单"),
    PAGE(2, "页面"),
    BUTTON(3, "按钮"),
    INTERFACE(4, "接口");

    @JsonValue
    @EnumValue
    private Integer id;
    private String name;

}
